|
![](/i/fill.gif) |
Ken wrote:
>
>Rohan Bernett wrote:
>>
>> Okay, here's another question about not using addons.
>>
>> How do I make relatively realistic looking vegetation WITHOUT using third
>> party addons?
>
>Most people use recursive functions.
>
>Ken Tyler
>
I'm no good at writing recursive functions. :-( I've used them a couple of
times in c++ in my uni assignments, but I always find them a pain in the
arse to write.
Okay, enough grumbling, can anyone give me some advice (or better still a
code exaple) on how to make a tree using recursive functions. My best
vaugly recursive attempt at making a tree involved making several objects
of different levels of the tree and adding them at different levels. i.e.
one level with leaves, then one using branches with 3 leaves on them, then
one using 3 branches from the one before and so on. It does look like a
tree, but not very realistic.
Rohan _e_ii
Post a reply to this message
|
![](/i/fill.gif) |